<template>
  <div>
    <h2>MyAbout组件</h2>
    <!-- 使用路由链接 -->
    <router-link to="/about/tab1">tab1</router-link>&nbsp;
    <router-link to="/about/tab2">tab2</router-link>
     <!-- 路由占位符 -->
     <router-view></router-view>
  </div>
</template>

<script>
import Tab1 from './Tab1.vue'
import Tab2 from './Tab2.vue'
export default {
    name:'MyAbout',
    components:{
      Tab1,
      Tab2
    }

}
</script>

<style>

</style>